package com.ruoyi.pos.service.impl;

import com.ruoyi.pos.domain.PosCustomer;
import com.ruoyi.pos.mapper.PosCustomerMapper;
import com.ruoyi.pos.service.IPosCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PosCustomerServiceImpl implements IPosCustomerService {
    @Autowired
    private PosCustomerMapper posCustomerMapper;
    @Override
    public int insertPosCustomer(PosCustomer posCustomer) {
        return posCustomerMapper.insertPosCustomer(posCustomer);
    }

    @Override
    public int updatePosCustomer(PosCustomer posCustomer) {
        return posCustomerMapper.updatePosCustomer(posCustomer);
    }

    @Override
    public List<PosCustomer> selectPosCustomerList(PosCustomer posCustomer) {
        return posCustomerMapper.selectPosCustomerList(posCustomer);
    }
}
